<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<base href="<%=basePath%>">
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Doctaskis</title>
<link href="css/formstyle.css" rel="stylesheet" type="text/css" media="screen" />
<link href="css/style.css" rel="stylesheet" type="text/css" media="screen" />
<link href="css/jquery-ui.min.css" rel="stylesheet" type="text/css" media="screen" />
<script src="js/jquery-1.7.2.min.js"></script>
<script src="js/jquery-ui-1.10.0.custom.js"></script>
<script src="js/validate.js" charset='gb2312'></script>
<script>
$(function() {
	$("input:submit,input:reset,button").button();
	$( "#accordion" ).accordion({
		heightStyle: "fill"
		
	});
	$("#cancelRegister").button().click(function(){
		var shref="main.do";
		window.location.href=shref;
	});
});
</script>
</head>
<body>
<div id="wrapper">
	<div id="header">
		<div id="logo">
			<h1><a href="#">doctaskis </a></h1>
			<p> BY AVERY HUO</p>
		</div>
		<div id="menu">
			<ul>
				<li><a href="main.do">首页</a></li>
				<li><a href="#">关于这</a></li>
				
			</ul>
		</div>
      
	</div>
	<!-- end #header -->
 
   <div id="centerDocuments">
  	<h3 style="padding-top:30px;">用户登录</h3>
    <a style="margin-left:500px;" href="#">忘记密码</a>
	 <div class="post" style="margin-left:-100px;">
		<form id="loginform" action="user.do?actMethod=loginAction" method="post" onsubmit="return validateSelfInfo()">
		  <div class="login">
				<ul>
					<li>用户名：<input type="text" name="username" id="username" onblur="validate_name(this)" onKeyUp="value=value.replace(/[\u4E00-\u9FA5]/g,'')" onmousemove="this.className='input_move'" onmouseout="this.className='input_out'"/><span id="tusername">*</span></li>
					<li>密 &nbsp;&nbsp; 码：<input type="password" name="password" id="password" onblur="validate_password1(this)" onKeyUp="value=value.replace(/[\u4E00-\u9FA5]/g,'')" onmousemove="this.className='input_move'" onmouseout="this.className='input_out'"/><span id="tpassword">*</span></li>
					<li>
						<input type="submit" value="登录"/><input id="cancelRegister" type="button" value="取消"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</li>
				</ul>
			</div>
		</form>
			
	  </div>
   </div>
	<!-- end #content -->
	<div style="clear: both;">&nbsp;</div>
			
	<!-- end #page -->
</div>
<div id="footer">
	<p>Copyright (c) 2013 Avery.com. All rights reserved. Design by Avery.</p>
</div>
<!-- end #footer -->
</body>
</html>
